GroupOrbits
GroupOrbits[group,{p1,…}] returns the orbits of the points pi under the action of the elements of group.
GroupOrbits[group,{p1,…},f] finds the orbits under the group action given by a function f.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.